package com.atguigu.r2dbc.controller;

import com.atguigu.r2dbc.entity.Author;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Flux;

/**
 * @author Jungle
 * @create 2024-01-15 21:42
 */
@RestController
@RequestMapping("/author")
public class AuthorController {


    @GetMapping("/test")
    public String test() {
        return "hello";
    }
    @GetMapping("/list")
    public Flux<Author> getList() {
        return null;
    }
}
